package com.addplus.townmall.server.api.model.town;

import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城订单支付表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("order_pay")
public class OrderPay extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 订单主键id
     */
    @TableField("order_id")
    private Integer orderId;
    /**
     * 类型(1:普通 2:拼团)
     */
    private Integer type;
    /**
     * 支付类型
     */
    @TableField("pay_type_id")
    private Integer payTypeId;
    /**
     * 支付流水号
     */
    @TableField("pay_number")
    private String payNumber;
    /**
     * 支付状态
     */
    @TableField("pay_status")
    private Integer payStatus;
    /**
     * 支付备注
     */
    @TableField("pay_remark")
    private String payRemark;


}
